package com.drugStorage.domain;

import java.util.Date;

/**
 * 药品入库列表
 * 
 * @author kirk
 * 
 */

public class InDrugList {

	private int id;// 药品ID

	private DrugScience drug;// 药品

	private int amount;// 药品数量

	private float inPrice;// 药品进价

	private float outPrice;// 药品售价

	private float margin;// 总价的差额

	private Date proDate;// 生产日期

	private Date deadDate;// 有效期

	private String lotNumber;// 批号

	private String inVoiceNo;// 发票号

	private String note;// 备注

	private float inUnitPrice;// 药品进入单价

	private float outUnitPrice;// 药品出库单价

	private String bidType;// 药品招标类型
	
	private InStorageBill inStorageBill;//从属入库单

	public InDrugList() {
	}

	public InDrugList(DrugScience drug) {
		this.drug = drug;
	}

	public DrugScience getDrug() {
		return drug;
	}

	public void setDrug(DrugScience drug) {
		this.drug = drug;
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public float getInPrice() {
		return inPrice;
	}

	public void setInPrice(float inPrice) {
		this.inPrice = inPrice;
	}

	public float getOutPrice() {
		return outPrice;
	}

	public void setOutPrice(float outPrice) {
		this.outPrice = outPrice;
	}

	public float getMargin() {
		return margin;
	}

	public void setMargin(float margin) {
		this.margin = margin;
	}

	public Date getProDate() {
		return proDate;
	}

	public void setProDate(Date proDate) {
		this.proDate = proDate;
	}

	public Date getDeadDate() {
		return deadDate;
	}

	public void setDeadDate(Date deadDate) {
		this.deadDate = deadDate;
	}

	public String getLotNumber() {
		return lotNumber;
	}

	public void setLotNumber(String lotNumber) {
		this.lotNumber = lotNumber;
	}

	public String getInVoiceNo() {
		return inVoiceNo;
	}

	public void setInVoiceNo(String inVoiceNo) {
		this.inVoiceNo = inVoiceNo;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public float getInUnitPrice() {
		return inUnitPrice;
	}

	public void setInUnitPrice(float inUnitPrice) {
		this.inUnitPrice = inUnitPrice;
	}

	public float getOutUnitPrice() {
		return outUnitPrice;
	}

	public void setOutUnitPrice(float outUnitPrice) {
		this.outUnitPrice = outUnitPrice;
	}

	public String getBidType() {
		return bidType;
	}

	public void setBidType(String bidType) {
		this.bidType = bidType;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public InStorageBill getInStorageBill() {
		return inStorageBill;
	}

	public void setInStorageBill(InStorageBill inStorageBill) {
		this.inStorageBill = inStorageBill;
	}
}
